﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;

namespace OauthProvider
{
    public interface IConsumerStore
    {
        bool IsConsumer(IConsumer consumer);
        void SetConsumerSecret(IConsumer consumer, string consumerSecret);
        string GetConsumerSecret(IOAuthContext consumer);
        void SetConsumerCertificate(IConsumer consumer, X509Certificate2 certificate);
        AsymmetricAlgorithm GetConsumerPublicKey(IConsumer consumer);
    }
}
